<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head>

<meta charset="UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<link rel="stylesheet" type="text/css" href="<%=basePath%>jslib/easyui/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="<%=basePath%>jslib/easyui/themes/icon.css">
<link rel="stylesheet" type="text/css" href="<%=basePath%>jslib/easyui/demo/demo.css">
<script type="text/javascript" src="<%=basePath%>jslib//easyui/jquery.min.js"></script>
<script type="text/javascript" src="<%=basePath%>jslib/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="<%=basePath%>jslib/easyui/locale/easyui-lang-zh_CN.js"></script>

<title>Basic TreeGrid - jQuery EasyUI Demo(1.5.3)</title>

<script type="text/javascript">
		
	$(function(){
		
	});
	
</script>
</head>
<body>

	<h2>基本树形表格</h2>
	<div class="demo-info">
		<div class="demo-tip icon-tip"></div>
		<div>树形表格允许你展开和收缩多行组合.</div>
	</div>
	<div style="margin:10px 0;"></div>
	<table title="文件浏览" class="easyui-treegrid" style="width:700px;height:250px"
			data-options="
				url: './treegrid_data1.json',
				rownumbers: true,
				idField: 'id',
				treeField: 'name'
			">
		<thead>
			<tr>
				<th data-options="field:'name'" width="220">名称</th>
				<th data-options="field:'size'" width="100" align="right">大小</th>
				<th data-options="field:'date'" width="150">修改日期</th>
			</tr>
		</thead>
	</table>
	
	<script type="text/javascript">
	
	</script>
</body>
</html>